<!DOCTYPE html>
<html lang="zh">
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
	<title>教师后台 - 家校互动系统</title>
	<link rel="shortcut icon" href="favicon.ico" />
	<link href="__TMPL__css/alice.css" rel="stylesheet" type="text/css" />
	<link href="__TMPL__css/style.css" rel="stylesheet" type="text/css" />
	<script src="__TMPL__js/jquery.min.js"></script>
	<script src="__TMPL__js/head.js"></script>
	<!--[if lt IE 9]>
	<script src="__TMPL__js/html5.js"></script>
	<![endif]-->
</head> 
<body onload="iframe_height()">
<div id="bodyheight"><!-- 设定iframe框架 --> 


<div style="width:100%">
	<a class="btn_back" href="__URL__/nav" style="width:20%">考勤点名</a> <!-- 当前位置 返回按钮 -->
</div>		<!-- 内容框架开始 -->


	<div class="main padd6">
		<div class="tab_main clear">
			<a href="__URL__/roll_call">考勤点名</a>
			<a href="__URL__/roll_man"  class="cur">考勤管理</a>
		</div>
		
		<div class="realmain padd11 clear">
		
			<!-- 头部工具栏开始 -->
			<div class="main-nav">
				<form class="ui-form" name="search_content" method="post" action="__URL__/roll_man" id="search_content">
					<div class="ui-form-item">
						<label for="subject_id" class="ui-label">日期：</label><input name="time" type="text" class="ui-input  inputdate" id="time">
					</div>
					<div class="ui-form-item">
						<label for="subject_id" class="ui-label">科目：</label>
						<select id="subject_id" name="subject_id">
                        <option value="">
							选择科目
						  </option>
						 <volist name="subject" id="vo">
                          <option value="{$vo.KCMC}">
							{$vo.KCMC}
						   </option>
                         </volist>
						</select>
					</div>
					<div class="ui-form-item">
						<label for="subject_id" class="ui-label">班级：</label>
						{~classlist('',loadpower(3))}
					</div>
					
					<div class="ui-form-item">
						<label for="subject_id" class="ui-label">学生姓名：</label><input name="name" type="text" class="ui-input" id="name" size="9">
					</div>
					<div class="ui-form-item">
						&nbsp;<input type="submit" class="ui-button btn-search" value="搜索">
					</div>
				</form>
				
				<a href="__URL__/roll_add" class="ui-button btn-green flright" style="margin:7px;"><span class="icolink icoadd">添加考勤</span></a>
			</div>
			<!-- 头部工具栏结束 -->
			
			<!-- 列表内容开始 -->
			<div class="content">
				<form name="content_form" id="content_form" action="" method="post">
				<table class="ui-table">
					<thead>
						<tr>
							<th><input type="checkbox" value="" id="check_box" onclick="selectall('ids[]');"></th>
							<th>班级</th>
							<th>学号</th>
							<th>姓名</th>
							<th>日期</th>
							<th>课次</th>
							<th>科目</th>
							<th>出勤情况</th>
							<th>操作</th>
						</tr>
					</thead><!-- 表头可选 -->
					<tbody>
                     <volist name="attencelist" id="vo">
						<tr>
							<td><input class="inputcheckbox " name="ids[]" value="1" type="checkbox"></td>
							<td>{$vo.class_id|getinfo=###,'class','class_name'}</td>
							<td>{$vo.student_id|getinfo=###,'student','XH'}</td>
							<td>{$vo.student_id|getinfo=###,'student','XM'}</td>
							<td>{$vo.FBSJ|date='Y-m-d',###}</td>
							<td>{$vo.type_name}</td>
							<td>{$vo.subject_name}</td>
							<td><if condition="$vo.status eq '0'">
                            <span class="status green">未到</span>
                            <else />
                            已到
                            </if>
</td>
							<td><a href="__URL__/#">删除</a></td>
						</tr>
                     </volist>   
					</tbody>
				</table>
				
				<div class="content_foot clear">
					<a href="__URL__/#" class="ui-button btn-grey" onclick="content_form.action='#';return confirm_delete()"  style="float:left;display:block;"><span class="icolink icodel">删除</span></a>
					<div id="pages">{$page}</div>
				</div>
				</form>
			</div>
			<!-- 列表内容结束 -->
			
		</div>
	</div>
	<!-- 内容框架结束 -->
</div>

<iframe width='0' id='top_src' height='0' src=''></iframe>
<include file="Public:foot" />
</body>
</html>